﻿using System;

namespace SixthClassAssignment{
    public class Class{
        private String no;
        private String name;
        private String sch_no;

        public Class(string no, string name, string schNo){
            this.no = no;
            this.name = name;
            sch_no = schNo;
        }

        public string No{
            get => no;
            set => no = value;
        }

        public string Name{
            get => name;
            set => name = value;
        }

        public string SchNo{
            get => sch_no;
            set => sch_no = value;
        }
        
        public override string ToString(){
            return "{" + no + " " + name + " " + sch_no + "}";
        }
        
        
    }
}